// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '发货通知单',
        name: 'ShipmentsModel',
        url: "/ShipmentsModel/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {};
    const editFormOptions = [];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'Id',title:'主键Id',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'ShipmentsCode',title:'通知单编号',type:'string',width:110,align:'left'},
                       {field:'ShipmentsName',title:'通知单名称',type:'string',width:110,align:'left'},
                       {field:'SaleCode',title:'销售订单编号',type:'string',width:110,align:'left'},
                       {field:'CustCode',title:'客户编号',type:'string',width:110,align:'left'},
                       {field:'ShipmentsTime',title:'发货日期',type:'datetime',width:150,align:'left'},
                       {field:'ReceivingName',title:'收货人',type:'string',width:110,align:'left'},
                       {field:'Phone',title:'联系方式',type:'string',width:110,align:'left'},
                       {field:'ReceivingAddress',title:'收货地址',type:'string',width:110,align:'left'},
                       {field:'Speak',title:'备注',type:'string',width:220,align:'left'},
                       {field:'State',title:'单据状态',type:'int',width:110,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}